package com.ccsc.auth.entity;

import java.util.List;

/**
 *角色
 * Created by yyangs on 2017/2/10.
 */
public class Role {
    private Integer id;//角色id
    private String name;//角色名称
    private Integer status;//角色状态
    private String description;//角色描述
    private List<Resource> resourceList;//该角色所拥有的资源

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getStatus() {
        return status;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public List<Resource> getResourceList() {
        return resourceList;
    }

    public void setResourceList(List<Resource> resourceList) {
        this.resourceList = resourceList;
    }
}
